/*
 * Copyright 2018-2022 guerlab.net and other contributors.
 *
 * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, Version 3 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.gnu.org/licenses/lgpl-3.0.html
 *
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package net.guerlab.cloud.web.core.exception;

/**
 * 异常信息KEY列表.
 *
 * @author guer
 */
public final class Keys {

	/**
	 * 默认错误.
	 */
	public static final String DEFAULT = "error.default";

	/**
	 * 不支持的HTTP请求方式.
	 */
	public static final String HTTP_REQUEST_METHOD_NOT_SUPPORTED = "error.httpRequestMethodNotSupported";

	/**
	 * 方法参数不匹配.
	 */
	public static final String METHOD_ARGUMENT_TYPE_MISMATCH = "error.methodArgumentTypeMismatch";

	/**
	 * 方法参数不匹配.
	 */
	public static final String METHOD_ARGUMENT_TYPE_MISMATCH_WITHOUT_TYPE = "error.methodArgumentTypeMismatchWithoutType";

	/**
	 * 缺失请求参数.
	 */
	public static final String MISSING_SERVLET_REQUEST_PARAMETER = "error.missingServletRequestParameter";

	/**
	 * 未发现处理程序(404).
	 */
	public static final String NO_HANDLER_FOUND = "error.noHandlerFound";

	private Keys() {
	}
}
